package cn.tedu.lucky.draw.server.repository;

import cn.tedu.lucky.draw.server.protocol.po.ActivityPrize;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ActivityPrizeRepository extends JpaRepository<ActivityPrize,Long> {

    List<ActivityPrize> findByActivityId(Long activityId);
}
